<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="static/css/bootstrap.min.css" />
	<link rel="stylesheet" href="static/css/daohang.css" type="text/css" />
	<link rel="stylesheet" href="static/css/style.css" type="text/css" />
	<style type="text/css">
		body{
			background-image:url("static/img/bg_main.jpg");
		}
		
	</style>
</head>
<body>
	<%@ include file="include/top2.jsp" %>
	<jsp:include page="include/top.jsp">
		<jsp:param value="contact" name="tag"/>
	</jsp:include>
	
	<div class="container">
	  <div class="row">
	  <c:if test="${param.code eq '10001'}">
	  	添加失败！
	  </c:if>
		<div class="span9">
			<form  action="contact.jspx?m=add" method="post" class="form-horizontal">
        <fieldset>
          <legend>添加新联系人</legend>
          <div class="control-group">
            <label class="control-label">姓名</label>
            <div class="controls">
              <input type="text" class="span5" name="name" x-webkit-speech="undefined">
            </div>
          </div>
		   <div class="control-group">
            <label class="control-label" for="input01">公司</label>
            <div class="controls">
              <input type="text" class="span5"name="company" x-webkit-speech="undefined">
            </div>
          </div>
		  <div class="line"></div>
		   <div class="control-group">
            <label class="control-label" for="input01">手机</label>
            <div class="controls">
              <input type="text" class="span5" name="phone" x-webkit-speech="undefined">
            </div>
          </div>
		   <div class="control-group">
            <label class="control-label" for="input01">固话</label>
            <div class="controls">
              <input type="text" class="span5" name="tel" x-webkit-speech="undefined">
            </div>
          </div>
		  <div class="control-group">
            <label class="control-label" for="input01">邮箱</label>
            <div class="controls">
              <input type="text" class="span5" name="email" x-webkit-speech="undefined">
            </div>
          </div>
		   <div class="line"></div>
		  <div class="control-group">
            <label class="control-label" for="input01">地址</label>
            <div class="controls">
              <input type="text" class="span5" name="address" x-webkit-speech="undefined">
            </div>
          </div>
		   <div class="line"></div>
		   <div class="control-group">
            <label class="control-label" for="input01">主页</label>
            <div class="controls">
              <input type="text" class="span5" name="home" value="">
			  <p class="help-block">http://www.xxx.com</p>
            </div>
          </div>
		   <div class="control-group">
            <label class="control-label" for="input01">微博</label>
            <div class="controls">
				<select class="span2" name="weibo1">
					<option></option>
					<option value="http://www.weibo.com/">新浪微博</option>
					<option value="http://www.t.qq.com/">腾讯微博</option>
					<option value="https://www.twitter.com/">Twitter</option>
				</select>
				<div class="input-prepend">
					<span class="add-on">@</span>
					<input class="span2" id="prependedInput" size="16" name="weibo2" type="text" x-webkit-speech="undefined">
                </div>
				
            </div>
          </div>
		   <div class="control-group">
            <label class="control-label" for="input01">简介</label>
            <div class="controls">
              <textarea class="span5" rows="6" name="adstruct"></textarea>
            </div>
          </div>
		  
		  

          <div class="form-actions">
           <input type="submit" class="btn btn-primary" value="保存"/>
            <button class="btn" onclick="location.back()">返回</button>
          </div>
        </fieldset>
      </form>          
          	
		</div>
		<div class="span3">
			
		</div>
	  </div>
	</div>
	
	<script type="text/javascript" src="static/js/jquery.js"></script>
	<script type="text/javascript" src="static/js/jqueryui.js"></script>
	<script type="text/javascript" src="static/js/jquery.illuminate.0.7.min.js"></script>
	
	
	<script type="text/javascript">
		$(document).ready(function(){
				
			$('#button').illuminate({
				'intensity': '0.5',
				'color': '#2c2c2c'
			});
				
		});
			
	</script>
	
	
</body>
</html>